<template>
  <div class="etfProfit">
    <x-header :left-options="{backText: ''}">基金收益</x-header>
    <div>
      <ul class="transactionTitle clearfix">
        <li>产品名称</li>
        <li>收益率</li>
        <li>涨跌幅</li>
        <div style="clear:both "></div>
      </ul>
      <ul class="transactionCont clearfix">
        <div class="fr">
          <li>
            <div class="mgt10">ETF指数基金【11期】</div>
            <div class="c9">2017-05-05</div>
          </li>
          <li class="negative">
            <div style="margin-top:23px;"> 42.09%</div>
          </li>
          <li class="negative">
            <div style="margin-top:23px;">-0.9%</div>
          </li>
          <div style="clear:both "></div>
        </div>
        <div class="fr">
          <li class="mgt10">
            <div>ETF指数基金【11期】</div>
            <div class="c9">2017-05-05</div>
          </li>
          <li class="negative">
            <div style="margin-top:23px;"> 42.09%</div>
          </li>
          <li class="positive">
            <div style="margin-top:23px;"> +1.0%</div>
          </li>
          <div style="clear:both "></div>
        </div>
      </ul>
    </div>
  </div>
</template>
<script>
  import { XHeader } from 'vux'
  export default {
    data() {
      return {
      }
    },
    mounted() {
    },
    methods: {

    },
    components: {
      XHeader,
    }
  }
</script>
<style lang="less">
  .etfProfit .vux-header {
    background: #fff;
  }

  body {
    background: #f6f6f6;
  }

  .c6 {
    color: #666;
  }

  .fr {
    position: relative;
  }

  .fa {
    position: absolute;
  }

  .r10 {
    right: 10px;
  }

  .mgt10 {
    margin-top: 10px;
  }

  .c9 {
    color: #999;
  }

  .etfProfit .transactionMoeny {
    position: absolute;
    right: 10px;
  }

  .etfProfit .vux-header .vux-header-left .left-arrow:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid #000;
    border-width: 1px 0 0 1px;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    top: 8px;
    left: 7px;
  }

  .etfProfit .vux-header .vux-header-title {
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #000;
  }

  .etfProfit .transactionTitle {
    text-align: center;
  }

  .etfProfit .transactionTitle li {
    float: left;
    list-style: none;
    color: #999;
    font-size: 16px;
    height: 35px;
    line-height: 35px;
  }

  .etfProfit .transactionTitle li:first-child {
    width: 44%;
    text-align: left;
    margin-left: 15px;
  }

  .etfProfit .transactionTitle li:nth-child(3n) {
    position: absolute;
    right: 15px;
  }

  .etfProfit .transactionCont {
    background: #fff;
    text-align: center;
  }

  .etfProfit .transactionCont li {
    color: #333;
    float: left;
    height: 70px;
    border-bottom: 1px solid #f6f6f6;
    list-style: none;
  }

  .etfProfit .transactionCont li:first-child {
    width: 44%;
    text-align: left;
    margin-left: 15px;
  }

  .etfProfit .transactionCont li:nth-child(3n) {
    position: absolute;
    right: 15px;
  }

  .positive {
    color: #81d425 !important;
  }

  .negative {
    color: #ff1010 !important;
  }
</style>